package com.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.util.Date;

/**
 * @author qindengfeng
 * @date 2019/11/12 10:49
 */
@Data
public class DemoData {
    @ExcelProperty("字符串标题")
    @ColumnWidth(50)
    private  String  string;
    @ExcelProperty("日期标题")
    @ColumnWidth(100)
    private Date date;
    @ExcelProperty("数字标题")
    @ColumnWidth(50)
    private  Double  doubleData;
}
